package com.kuzma.itibo.datamodel;

import java.util.List;

public class Postcard {
	
	private Long id;
    private String header;
    private String body;
    private String initials;
    private List<Address> addresses;
    
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getHeader() {
		return header;
	}
	public void setHeader(String header) {
		this.header = header;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getInitials() {
		return initials;
	}
	public void setInitials(String initials) {
		this.initials = initials;
	}
	public List<Address> getAddresses() {
		return addresses;
	}
	public void setAddresses(List<Address> addresses) {
		this.addresses = addresses;
	}
    
	@Override
    public String toString() {
        return this.header + " from " + this.initials;
    }
}
